<?php
	$tong_so_sp=0;
	$tong_tien=0;
	foreach($_SESSION['gio_hang'] as $k=>$v)
	{
		$tong_so_sp+=$v['so_luong'];
		$tong_tien+=$v['thanh_tien'];
	}
?>
<div class="art-block">
  <div class="art-block-body">
    <div class="art-blockheader">
      <div class="l"></div>
      <div class="r"></div>
      <h3 class="t">Giỏ hàng</h3>
    </div>
    <div class="art-blockcontent">
      <div class="art-blockcontent-tl"></div>
      <div class="art-blockcontent-tr"></div>
      <div class="art-blockcontent-bl"></div>
      <div class="art-blockcontent-br"></div>
      <div class="art-blockcontent-tc"></div>
      <div class="art-blockcontent-bc"></div>
      <div class="art-blockcontent-cl"></div>
      <div class="art-blockcontent-cr"></div>
      <div class="art-blockcontent-cc"></div>
      <div class="art-blockcontent-body">
        <p class="so_sp">Số sản phẩm: <?php echo $tong_so_sp;?></p>
        <p class="so_tien">Số tiền: <?php echo $tong_tien;?> VNĐ</p>
        <p><a class="xem_gh" href="../gio-hang/xem-gio-hang.html"><img class="gio" src="../images/gio_hang.png" />Xem giỏ hàng</a></p>
        <p><a class="thanh_toan" href="../dat-hang/don-dat-hang.html"><img class="tien" src="../images/tien.png" />Đặt hàng</a></p>
        <div class="cleared"></div>
      </div>
    </div>
    <div class="cleared"></div>
  </div>
</div>
